﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Shipu_Week_Monitor.aspx.cs"
    Inherits="Catering.Catering_Page.Caipin.Shipu_Week_Monitor" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>食谱日常监控表</title>
    <script src="../../Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script src="../../Scripts/zhezhao.js" type="text/javascript"></script>
    <script src="../../Style/xxk.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="../../Style/head.css" />
    <link rel="stylesheet" type="text/css" href="../../Style/center.css" />
    <link rel="stylesheet" type="text/css" href="../../Style/zhezhao.css" />
    <script language="javascript" type="text/javascript" src="../../Scripts/My97DatePicker/WdatePicker.js"></script>
    <style type="text/css">
        .float_left
        {
            float: left;
        }
        .float_right
        {
            float: right;
        }
        .top_li_css
        {
            height: 31px;
            line-height: 31px;
            width: 1000px;
            margin: 0px auto;
            background: url(../../Images/nav2_bg.gif) repeat-x 0px 0px;
        }
        .top_li_css ul
        {
            width: 700px;
        }
        .top_li_css li
        {
            float: left;
            width: 100px;
        }
        #top_title
        {
            width: 1000px;
            background: url(../../Images/table_top.gif) 0 0 no-repeat;
            height: 33px;
            overflow: hidden;
            color: #fff;
        }
        .table_zspqd
        {
            width: 90%;
            margin-top: 0px;
            background-color: #CECECE;
        }
        .table_zspqd th
        {
            background: url("../../Images/th_02bg.gif") repeat-x 0px 0px;
            height: 28px;
            line-height: 28px;
        }
        .table_zspqd tr, .table_zspqd td
        {
            background-color: #ffffff;
            min-height: 28px;
            line-height: 28px;
        }
        .table_zspqd1
        {
            background-color: #CECECE;
        }
        .table_zspqd1 tr
        {
            background-color: #ffffff;
            height: 28px;
            line-height: 28px;
        }
        #ShiPuHtml td{ border:1px solid #000;}
        #ShiPuHtml td span{ font-size:20px;}
    </style>

    <script type="text/javascript">
        $(document).ready(function () {
            $("#MainDiv").scrollTop($("#HidMainDivSheight").val()); //设置当前操作位置
        });

        //检查
        function Examine(classID, FoodID, strDate) {
            if (!confirm("确定检查该餐别菜品？")) {
                return;
            }

            $.ajax({
                type: "Post",
                url: "/Catering_Page/Caipin/Shipu_Week_Check.aspx/Examine",
                data: "{'classID':'" + classID + "','FoodID':'" + FoodID + "','strDate':'" + strDate + "'}",
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (data) {
                    $("#HidMainDivSheight").val($("#MainDiv").scrollTop());
                    $("#but_Seach").trigger("click");
                }
            });
        }
    </script>

</head>
<body>
    <form runat="server" id="from1">
    <asp:HiddenField ID="HidMainDivSheight" runat="server" Value="0" />
    <div id="div_se_2" class="nav_se top_li_css" style="display: block">
        <div class="nav_se_1 float_left">
            <img src="../../Images/nav2_bg1.gif" /></div>
        <ul>
            <li><a href="Shipu_Week_Monitor.aspx"><span class="lvse_border" >食谱日常监控表</span></a></li>
            <li><a href="Shipu_Week_Check.aspx"><span class="feise_border" >周食谱检查表</span></a></li>
        </ul>
        <div class="nav_se_3 float_right">
            <img src="../../Images/nav2_bg2.gif" /></div>
    </div>
    <div id="mk_1" style="display: block">
        <div class="Center_Content" id="div2_5">
            <div class="div_0207 left_width500" style="height: auto; width: 100%; border: 0px;">
                <h1 id="top_title">
                    <img src="../../Images/cp_h1_03.gif" />食谱日常监控表</h1>
                <div style="border: #1355a4 1px solid; height: 480px;">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="swxx_table_zspbtn" style="margin-top: 10px;">
                        <thead style="background-color: #E5F1FD; border: 1px solid #C2DEF6;">
                            <tr>
                                <td height="34" align="right" style="width:65px;">
                                    作业区：
                                </td>
                                <td style="width:120px;">
                                    <asp:DropDownList ID="Dr_Operaction" runat="server" CssClass="select_input_bg" Width="100"
                                        AutoPostBack="True" OnSelectedIndexChanged="Dr_Operaction_SelectedIndexChanged">
                                    </asp:DropDownList>
                                </td>
                                <td align="right" style="width:45px;">
                                    班组：
                                </td>
                                <td style="width:120px;">
                                    <asp:DropDownList ID="Dr_Class" runat="server" CssClass="select_input_bg" Width="100">
                                    </asp:DropDownList>
                                </td>
                                <td align="right" style="width:90px;">
                                    选择年月：
                                </td>
                                <td style="width:90px;">
                                    <asp:TextBox ID="Txt_Date" runat="server" CssClass="input_bg" Width="80" onfocus="WdatePicker({dateFmt:'yyyy-MM'})"></asp:TextBox>
                                </td>
                                <td align="left" style="width:100px;">
                                    <asp:Button ID="but_Seach" runat="server" OnClick="but_Seach_Click" CssClass="input_btn_a" Text="查　询"></asp:Button>
                                </td>
                                <td>&nbsp;&nbsp;</td>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td colspan="8" align="center">
                                    <div id="MainDiv" style="width: 100%; overflow-y: auto; overflow-x: hidden; height: 434px;">
                                        <h2 style="margin-top: 20px;">食谱检查状态表</h2>
                                        <table id="check_Table" align="center" border="0" cellpadding="0" cellspacing="1" class="table_zspqd" style="width:100%;">
                                            <thead>
                                                <tr>
                                                    <th align="center" style="width: 40px;">
                                                        序号
                                                    </th>
                                                    <th align="center" style="width: 120px;">
                                                        班组
                                                    </th>
                                                    <%=this.GetDayHtml()%>
                                                </tr>
                                            </thead>
                                            <tbody id="ShiPuHtml">
                                                <%=this.GetCheckList()%>
                                            </tbody>
                                        </table>
                                    </div>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    <div style="height: 10px; clear: both;">
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div style="height: 10px; clear: both;">
    </div>
    <div class="footer">
        <strong>中海油能源发展配餐服务公司渤海自营油田作业公司&nbsp;&nbsp;版权所有@CopyRight 2012</strong><span>技术支持：北京天择嘉业科技有限公司</span>
    </div>
    </form>
</body>
</html>
